﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RepairEdit.aspx.cs" Inherits="Webcar.Repair.RepairEdit" %>

<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Src="RepairM.ascx" TagName="RepairM" TagPrefix="uc3" %>
<%@ Register Src="RepairHead.ascx" TagName="RepairHead" TagPrefix="uc2" %>
<%@ Register Assembly="WebPager" Namespace="Zw.Control" TagPrefix="cc1" %>
<%@ Register Src="../Controls/NaviBar.ascx" TagName="NaviBar" TagPrefix="uc1" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>维修信息编辑</title>
</head>

<script language="javaScript" src="../JavaScript/default.js" type="text/javascript"></script>

<body>
    <form id="form1" runat="server">
    <div id="repairEdit">
        <div style="display: none">
            <asp:TextBox ID="tbCarNo" runat="server"></asp:TextBox>
            <asp:TextBox ID="tbDriverID" runat="server"></asp:TextBox>
        </div>
        <div class="content">
            <uc1:NaviBar ID="NaviBar1" runat="server" />
            <div class="tab">
                    <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" Height="401px" Width="687px"
                        ActiveTabIndex="1">
                        <TabPages>
                            <dx:TabPage Text="维修信息">
                                <ContentCollection>
                                    <dx:ContentControl runat="server">
                                        <uc2:RepairHead ID="RepairHead1" runat="server" />
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="维修材料信息">
                                <ContentCollection>
                                    <dx:ContentControl runat="server">
                                        <uc3:RepairM ID="RepairM1" runat="server" />
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
            </div>
            <br />
            <div class="footer">
                <div style="text-align: left;">
                    <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label></div>
                <asp:Button ID="btnSave" runat="server" Text="保存数据" SkinID="default_button" Width="60px"
                    OnClick="btnSave_Click" UseSubmitBehavior="False" />
                <asp:Button ID="Button1" runat="server" Text="返回" SkinID="default_button" Width="60px"
                     UseSubmitBehavior="False" onclick="Button1_Click1" />
                    
                <%--<input id="Button2" type="button" value="返回" style="width: 60px" class="button" onclick="javascript:history.back(1);" />--%></div>
        </div>
    </div>
    </form>
</body>
</html>
